using System;
using System.Collections.Generic;
using System.Text;

namespace GymManager.Persistence.VO
{
    /// <summary>
    /// Class representing the user value object
    /// </summary>
    public class User
    {
        #region Attributes
        private Int32 _id;
        private String _realName;
        private String _login;
        private String _password;
        private Role _role;
        private Boolean _isActive;
        #endregion

        #region Properties
        public Int32 Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public String RealName
        {
            get { return _realName; }
            set { _realName = value; }
        }

        public String Login
        {
            get { return _login; }
            set { _login = value; }
        }

        public String Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public Boolean IsActive
        {
            get { return _isActive; }
            set { _isActive = value; }
        }

        public Role Role
        {
            get { return _role; }
            set { _role = value; }
        }
        #endregion
    }
}
